

def list_sum(list):
    sum = 0
    for i in list:
        sum += i
    return sum


if __name__ == '__main__':
    print(list_sum([1, 2, 3, 4, 5]))
